<?php
defined('IN_DESTOON') or exit('Access Denied');
ob_start();
$datum_id=$_GET['datum_id'];
$tablename=$_GET['tablename'];
include tpl('header');
show_menu($menus);
?>
<form enctype='multipart/form-data' action='?tablename=<?php echo $tablename;?>' method='post'>
<input type="hidden" name="moduleid" value="<?php echo $moduleid;?>"/>
<input type="hidden" name="file" value="<?php echo $file;?>"/>
<input type="hidden" name="action" value="<?php echo $action;?>"/>
<div class="tt">数据导出</div>
<table cellpadding="2" cellspacing="1" class="tb">

<tr class="on">
<td class="tl">
&nbsp;<label for="f_1">生成EXCEL表:</label>
</td>

<td></td>

</tr>
<tr>
<td class="tl"><span class="f_red">*</span> 选择行业分类</td>
<td><div id="catesch"></div><?php echo ajax_category_select('post[catid]', '', $catid, $moduleid, 'size="2" style="height:120px;width:180px;"');?>
<br/><input type="button" value="搜索分类" onclick="schcate(<?php echo $moduleid;?>);" class="btn"/> <span id="dcatid" class="f_red"></span></td>
</tr>
<tr>
	<td colspan="2"><input type="submit" name="exportsbt" value=" 导 出 " class="btn"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="reset" value=" 重 置 " class="btn"/></td>
</tr>
</table>
<div class="tt">数据导入</div>
<table cellpadding="2" cellspacing="1" class="tb">

<tr class="on">
<td class="tl">
&nbsp;<label for="f_1">导入的EXCEL表:</label>
</td>

<td>&nbsp;&nbsp;&nbsp;<input type='file' name='efile' size='60'></td>

<td><input type="submit" name="insertsbt" value=" 导 入 " class="btn"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="reset" value=" 重 置 " class="btn"/></td>
</tr>
</table>

</form>
<script type="text/javascript">Menuon(<?php echo $menuid;?>);</script>
<?php include tpl('footer');?>